package com.zl.hyzg.service.impl;

import com.zl.hyzg.domain.Car;
import com.zl.hyzg.mapper.CarMapper;
import com.zl.hyzg.service.CarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CarServiceImpl implements CarService {
    @Autowired
    private CarMapper carMapper;
    public int addCar(Car car){
        return carMapper.addCar(car);
    }
}
